'use strict';

var nexus = {};

var App = angular.module("nexus", ['ui.compat', 'ngCookies','ui.bootstrap']).
  config(['$stateProvider', '$routeProvider', '$urlRouterProvider', function($stateProvider,$routeProvider,$urlRouterProvider) {
    
    $stateProvider.state('home', {url:'/', views:{"main":{ templateUrl: 'resources/tpl/home.html', controller: homeCtrl}}});
    $stateProvider.state('home1',{url:'/home1', views:{"main":{ templateUrl: 'resources/tpl/home.html', controller: homeCtrl}}});
    $stateProvider.state('home2',{url:'/home2', views:{"main":{ templateUrl: 'resources/tpl/home.html', controller: homeCtrl}}});
    
    $urlRouterProvider.otherwise("/");

}]);
